package com.it.park.dao;

import java.util.List;

import com.it.park.dao.base.BaseMapper;
import com.it.park.model.QuestionAnswer;

public interface QuestionAnswerMapper extends BaseMapper<QuestionAnswer>{

    List<Integer> selectByQuestionId(Integer questionId);

    /**
     *检查用户是否回答过
     * @param record
     * @return
     */
    QuestionAnswer selectIsExists(QuestionAnswer record);
}